<?php if( $position == 'top' ): ?>
	<div class="notify">
		<p>
			<?php
			foreach( $links as $link )
			{
				echo $link[ 'linkContent' ];
			}
			?>
		</p>
	</div>
<?php endif; ?>

<?php if( $position == 'bottom' ): ?>
	<nav class="page-navi augmented">
		<ul>
			<?php
			foreach( $links as $key => $link )
			{
				$class = "";
				if( $key == 0 )
					$class = "prev";
				elseif( $key == count( $links ) - 1 )
					$class = "next";

				echo '<li class="page-navi__'.$class.'"><span>' . $link[ 'linkContent' ] . '</span></li>';
			}
			?>
		</ul>
	</nav>
<?php endif; ?>
